Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

  CavernizeUpmixer

  DisassemblerUpmixer

  NearestUpmixer

  PairBasedUpmixer

  ReferenceChannel

  ReferenceChannelExtensions

  Remapper

  SurroundUpmixer

  Upmixer

  GetNewSamples(int)

  IntermediateSources

  OnSamplesNeeded

  output

  SampleCollector(int)

  UpdateSources(int)

  Upmixer(int, int)

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class Upmixer

Creates new, intermediate sources of an existing channel-based render.
VisibilityPublic
Modifiersabstract

Public functions

Constructor Upmixer(int sourceCount, int sampleRate)Creates new, intermediate sources of an existing channel-based render.

Protected functions

float[][] GetNewSamples(int samplesPerSource) Uses the sample collector to read new samples.

Public properties

Source[] IntermediateSourcesOutput sources created by the upmixing process.

Public variables

SampleCollector OnSamplesNeededThis function is called when new samples are needed for the next frame, it should return a frame for each source.
delegate float[][] SampleCollector(int samplesPerSource)Gets samples for each source for a given update rate.

Protected variables

float[][] outputPreallocated output source sample array reference cache.
float[][] UpdateSources(int samplesPerSource)Get the input samples, place the upmixed targets in space, and return their samples.

See also

CavernUnity DLL.Cavern.Remapping.PairBasedUpmixerAn Upmixer that recreates intermediate points between pairs of input sources.
CavernUnity DLL.Cavern.Remapping.PairBasedUpmixer.PairBasedUpmixer(Vector3[] positions, (int, int)[] pairs, int intermediateSourceCount, int sampleRate)An Upmixer that recreates intermediate points between pairs of input sources.